package com.zyasdk.model;


public class Packages {
	

	/**
	 * 包名
	 */
	private String name;

	/**
	 * 项目ID
	 */
	private int pid;

	/**
	 * 渠道ID
	 */
	private int cid;

	/**
	 * 包地址
	 */
	private String path;

	/**
	 * 添加时间
	 */
	private String addtime;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 国家
	 * */
	private String country;

	/**
	 * 渠道名
	 */
	private String cname;

	/**
	 * 产品推广状态
	 * */
	private int state;

	private double price;

	private String unit;

	/**
	 * 营销模式(1.cpa 2.cps 3.all)
	 * */
	private int market;

	/**
	 * 分成
	 * */
	private String divide = "0";

	/**
	 * 推广状态
	 * */
	private int generalize = 1;

	private String contacts;

	private int type = 0;// 状态，用来判断是自研(1)还是外接(2)

	private String contactsUser;// 对接人

	private String md5_value;// 保存的md5值

	private String jsonPackages;// 接收到的上传完毕后的值

	private int nagios = 0;// 内置(0 不内置 1内置)

	/**
	 * X日内的用户不进行推广
	 */
	private int sday = 0;

	private String nconfig = "-1";// 新闻推送配置

	/**
	 * 是否升级(0 不升级 1 升级)
	 * */
	private int level = 0;

	private int vcode = 1;// 版本号
	
	private int oldVersion;
	
	private int isRoot;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getAddtime() {
		return addtime;
	}

	public void setAddtime(String addtime) {
			this.addtime = addtime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public int getMarket() {
		return market;
	}

	public void setMarket(int market) {
		this.market = market;
	}

	public String getDivide() {
		return divide;
	}

	public void setDivide(String divide) {
		this.divide = divide;
	}

	public int getGeneralize() {
		return generalize;
	}

	public void setGeneralize(int generalize) {
		this.generalize = generalize;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getContactsUser() {
		return contactsUser;
	}

	public void setContactsUser(String contactsUser) {
		this.contactsUser = contactsUser;
	}

	public String getMd5_value() {
		return md5_value;
	}

	public void setMd5_value(String md5_value) {
		this.md5_value = md5_value;
	}

	public String getJsonPackages() {
		return jsonPackages;
	}

	public void setJsonPackages(String jsonPackages) {
		this.jsonPackages = jsonPackages;
	}

	public int getNagios() {
		return nagios;
	}

	public void setNagios(int nagios) {
		this.nagios = nagios;
	}

	public int getSday() {
		return sday;
	}

	public void setSday(int sday) {
		this.sday = sday;
	}

	public String getNconfig() {
		return nconfig;
	}

	public void setNconfig(String nconfig) {
		this.nconfig = nconfig;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getVcode() {
		return vcode;
	}

	public void setVcode(int vcode) {
		this.vcode = vcode;
	}

	public int getOldVersion() {
		return oldVersion;
	}

	public void setOldVersion(int oldVersion) {
		this.oldVersion = oldVersion;
	}

	public int getIsRoot() {
		return isRoot;
	}

	public void setIsRoot(int isRoot) {
		this.isRoot = isRoot;
	}

	
	

}
